package com.wzd.imservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ProjectName: e_learning
 * @Package: com.wzd.imservice.client
 * @ClassName: EduServiceClient
 * @Author: lofxve
 * @Description:
 * @Date: 2021/5/10 17:29
 * @Version: 1.0
 */
@FeignClient("service-edu")
@Component
public interface EduServiceClient {
    @GetMapping("/eduservice/live/isPublicByCourseId/{courseId}")
    public boolean isPublicByCourseId(@PathVariable("courseId") String courseId);
}
